# list1 = [1, 8, 6, 5, 7]
list2 = [1, 3, 5, 7, 9]

y = lambda x: x < 5
list3 = list(filter(y, list2))
print(list3)

list3 = list(filter(lambda i: i < 5, list2))
print(list3)